package com.siyu.tickets.manager;

import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.AdminUser;

public interface AdminUserMng {

	public Pagination getPage(String name, Boolean enable, int pageNo, int pageSize);

	public AdminUser findById(Integer id);

	public AdminUser registAdminUser(AdminUser bean);

	public AdminUser updateAdminUser(AdminUser bean);

	public AdminUser updateByUpdater(Updater<AdminUser> updater);

	public AdminUser deleteById(Integer id);

	public AdminUser[] deleteByIds(Integer[] ids);

	public AdminUser[] enableByIds(Integer[] ids, Boolean enable);

}
